From: Michael Biebl Date: Mon, 15 Jun 2015 19:48:00 +0000 (+0200) Subject: Update configure.ac to check for libsystemd X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1331 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=35889a0f7d2a0092985936a4be98dd5dbc8ffbeb;p=gnome-shell.git Update configure.ac to check for libsystemd https://bugzilla.gnome.org/show_bug.cgi?id=751016 --- diff --git a/configure.ac b/configure.ac index 867f1408f..1fc68b838 100644 --- a/configure.ac +++ b/configure.ac @@ -63,8 +63,8 @@ AC_ARG_ENABLE([systemd], [enable_systemd=$enableval], [enable_systemd=auto]) AS_IF([test x$enable_systemd != xno], [ - AC_MSG_CHECKING([for libsystemd-journal]) - PKG_CHECK_EXISTS([libsystemd-journal], + AC_MSG_CHECKING([for libsystemd]) + PKG_CHECK_EXISTS([libsystemd], [have_systemd=yes AC_DEFINE([HAVE_SYSTEMD], [1], [Define if we have systemd])], [have_systemd=no]) @@ -106,7 +106,7 @@ SHARED_PCS="gio-unix-2.0 >= $GIO_MIN_VERSION polkit-agent-1 >= $POLKIT_MIN_VERSION gcr-base-3 >= $GCR_MIN_VERSION" if test x$have_systemd = xyes; then - SHARED_PCS="${SHARED_PCS} libsystemd-journal" + SHARED_PCS="${SHARED_PCS} libsystemd" fi PKG_CHECK_MODULES(GNOME_SHELL, $SHARED_PCS)